<template>
  <el-form-item label="配置:">
    <el-time-select v-model="tempTime"></el-time-select>
  </el-form-item>
</template>

<script>
	export default {
		name: "attr-qk-time",
		props: {
			time: String
		},
		data() {
			return {
				tempTime: ''
			}
		},
		mounted() {
			this.tempTime = this.time;
		},
		watch: {
			text() {
				this.tempTime = this.time;
			},
			tempTime() {
				this.$emit('update:time', this.tempTime)
			}
		}
	}
</script>

<style scoped>

</style>
